<%@ page pageEncoding="UTF-8"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="isperp" uri="/WEB-INF/tlds/isperp.tld"%>

<form:form id="formProjectMember" commandName="model"
	action="project/member/save">
	<form:hidden path="id" />
	<form:hidden path="projProjectId" />
	<table class="form-table">
		<tr>
			<td class="td1"><span style="color: red">*</span>姓名：</td>
			<td class="td2"><form:hidden path="appUserName" /> <isperp:departmentUser
					displayValue="${model.memberName }" valueControlId="appUserName"
					id="memberName" name="memberName"></isperp:departmentUser></td>
			<td class="td1"><span style="color: red">*</span>岗位：</td>
			<td class="td2"><form:select path="positionName"
					items="${positionList }" itemLabel="name" itemValue="name"></form:select>
			</td>
		</tr>
		<tr>
			<td class="td1"><span style="color: red">*</span>月薪(元)：</td>
			<td class="td2"><form:input path="salary"
					class="required number" />
			</td>
			<td class="td1"><span style="color: red">*</span>社保(元)：</td>
			<td class="td2"><form:input path="socialInsurance"
					class="number" />
			</td>
		</tr>
		<tr>
			<td class="td1">其它补助(元)：</td>
			<td class="td2"><form:input path="otherSubsidy" class="number" />
			</td>
			<td class="td1">&nbsp;</td>
			<td class="td2">&nbsp;</td>
		</tr>
		<tr>
			<td class="td1"><span style="color: red">*</span>计划进场时间：</td>
			<td class="td2"><form:input path="planInDate" type="date" /></td>
			<td class="td1"><span style="color: red">*</span>计划退场时间：</td>
			<td class="td2"><form:input path="planOutDate" type="date" />
			</td>
		</tr>
		<tr>
			<td class="td1">实际进场时间：</td>
			<td class="td2"><form:input path="actInDate" type="date" /></td>
			<td class="td1">实际退场时间：</td>
			<td class="td2"><form:input path="actOutDate" type="date" /></td>
		</tr>
	</table>
</form:form>
<isperp:buttonList>
	<button class="submit"
		onclick="isperp.submitForm({success : function() {  isperp.closeDialog();isperp.reloadGrid('projectMemberGrid');  }});">
		<span class="icon icon-save"></span>提交
	</button>
</isperp:buttonList>